﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentNHibernate.Mapping;
using Model.Entities;

namespace Model.Mappings
{
    public partial class HRDS_WARNINGLOGS_Map : ClassMap<HRDS_WARNINGLOGS>
    {
        public HRDS_WARNINGLOGS_Map()
        {
            Table("HRDS_WARNINGLOGS");
            Id(x => x.LOGGUID)
                .Length(15);

            Map(x => x.WARNTYPE).Nullable();
            Map(x => x.WARNCONTENT).Nullable().Length(200);
            Map(x => x.WARNDATE).Nullable();
            Map(x => x.HANDLERESULT).Nullable();
            Map(x => x.STATIONID).Nullable().Length(20);
            Map(x => x.STATIONNAME).Nullable().Length(40);
            DoEditableMappings();
        }
    }
}
